package com.ex.jwt.service;

import com.ex.jwt.pojo.User;
import org.springframework.stereotype.Component;

/**
 * @Author longdeng
 * @Date 2020/3/22 0022 16:33
 */
@Component
public class UserService {
    public User findUserById(String userId) {
        return new User(100L, "zhouxl", "zhouxl");
    }

    public User findByUsername(User user) {
        return new User(100L, "zhouxl", "zhouxl");
    }
}
